package org.tailor

class Client {
    long clientID
    String firstName
    String lastName
    int room
    String building
    String address01
    String address02
    String city
    String state
    int postalCode
    String country
    int phone
    String email
    String password
    long creditCard
    int creditCardType
    int cardExMo
    int cardExYr
    Date dateEntered
    String accountID
    String activationKey
    Date dateCreated
    String test123
	
    static hasMany = [comment: Comment, orders:Orders, rating:Rating ]
    
    
    Measurement measurement

    static constraints = {
        clientID(blank:false, unique:true)
        firstName(blank:false)
    }
}
